package com.fcat.common.user.entity;

import javax.persistence.*;

@Table(name = "resource_policy")
public class ResourcePolicy {
    @Id
    @Column(name = "RESOURCE_ID")
    private String resourceId;

//    @Id
    @Column(name = "POLICY_ID")
    private String policyId;

    /**
     * @return RESOURCE_ID
     */
    public String getResourceId() {
        return resourceId;
    }

    /**
     * @param resourceId
     */
    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    /**
     * @return POLICY_ID
     */
    public String getPolicyId() {
        return policyId;
    }

    /**
     * @param policyId
     */
    public void setPolicyId(String policyId) {
        this.policyId = policyId;
    }
}